home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
htmlso_1
/
email.frm
next >
Wrap
Text File
|
1998-04-09
|
4KB
|
128 lines
VERSION 5.00
Begin VB.Form Form3
BorderStyle = 1 'Fixed Single
Caption = "Add an E-Mail link"
ClientHeight = 1365
ClientLeft = 1800
ClientTop = 2625
ClientWidth = 6225
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 177
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Icon = "EMAIL.frx":0000
LinkTopic = "Form3"
MaxButton = 0 'False
MinButton = 0 'False
PaletteMode = 1 'UseZOrder
ScaleHeight = 1365
ScaleWidth = 6225
Begin VB.CommandButton cancel
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "Cancel"
Height = 375
Left = 3480
TabIndex = 5
Top = 840
Width = 2055
End
Begin VB.CommandButton ok
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "OK"
Default = -1 'True
Height = 375
Left = 1200
TabIndex = 4
Top = 840
Width = 1935
End
Begin VB.TextBox link
Height = 285
Left = 1920
TabIndex = 3
Top = 480
Width = 3735
End
Begin VB.TextBox email
Height = 285
Left = 1920
TabIndex = 1
Top = 120
Width = 3735
End
Begin VB.Label Label2
Appearance = 0 'Flat
BackColor = &H00C0C0C0&
BackStyle = 0 'Transparent
Caption = "Link text:"
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 177
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 255
Left = 840
TabIndex = 2
Top = 480
Width = 975
End
Begin VB.Label Label1
Appearance = 0 'Flat
BackColor = &H00C0C0C0&
BackStyle = 0 'Transparent
Caption = "E-Mail address:"
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 177
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 255
Left = 360
TabIndex = 0
Top = 120
Width = 1455
End
End
Attribute VB_Name = "Form3"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Sub cancel_Click()
Unload Me
End Sub
Sub Form_Load()
Form3.Height = Form2.Height
Form3.Width = Form2.Width
End Sub
Sub ok_Click()
Form1.main.SelText = Form1.main.SelText + "<a href=mailto:" & Chr(34) & email.Text & Chr(34) & ">" + link.Text + "</a>"
Form3.email.Text = ""
Form3.link.Text = ""
Unload Me
End Sub